<template>
  <div class="big">
  	<div class="header">
  		<div class="header_top">
  			<p class="header_img"><img src="../../static/img/header_03.png" alt="" /></p>
  			已绑定微信
  		</div>
  		<div class="header_bottom">
  			亲，欢迎光临 lativ!
  		</div>
  	</div>
  	<div class="nav">
  		<div class="nav_top">
  			<router-link to="/login/logintwo"><p class="dingdan">我的订单</p><p class="dingdanAll">查看全部订单<span>></span></p></router-link>
  		</div>
  		<div class="nav_bottom">
  			<ul class="oul">
  				<li v-for="val,index in arr" class="oli">
	  				<svg aria-hidden="true" class="icon">
	  					<use :xlink:href="val.xhref"></use>
	  				</svg>
	  				<p>{{val.name}}</p>
  				</li>
  			</ul>
  		</div>
  	</div>
  	<div class="hui"></div>
  	<div class="section">
  		<div class="section_top">
  			我的服务
  		</div>
  		<div class="section_nav">
  			<ul class="oul">
  				<li v-for="val,index in arrList" class="oli">
  					<svg aria-hidden="true" class="icon">
	  					<use :xlink:href="val.xhref"></use>
	  				</svg>
	  				<p>{{val.name}}</p>
  				</li>
  			</ul>
  		</div>
  		<div class="section_bottom">
  			<ul class="oul">
  				<li v-for="val,index in arrNav" class="oli">
  					<svg aria-hidden="true" class="icon">
	  					<use :xlink:href="val.xhref"></use>
	  				</svg>
	  				<p>{{val.name}}</p>
  				</li>
  			</ul>
  		</div>
  	</div>
  </div>
</template>

<script>
export default {
  name: 'login',
  data(){
  	return {
  		arr:[
  			{
  				xhref:"#icon-daifahuo",
  				name:"待付款"
  			},{
  				xhref:"#icon-tuikuan",
  				name:"待发货"
  			},{
  				xhref:"#icon-daipingjia20",
  				name:"待收货"
  			},{
  				xhref:"#icon-daishouhuo",
  				name:"待评价"
  			},{
  				xhref:"#icon-daifukuan",
  				name:"退货/退款"
  			}
  		],
  		arrList:[
  			{
  				xhref:"#icon-icon_coupon",
  				name:"优惠券"
  			},{
  				xhref:"#icon-shoucang",
  				name:"收藏"
  			},{
  				xhref:"#icon-yifu",
  				name:"衣服"
  			},{
  				xhref:"#icon-map",
  				name:"地址"
  			}
  		],
  		arrNav:[
  			{
  				xhref:"#icon-icon-test",
  				name:"标签"
  			},{
  				xhref:"#icon-kefu",
  				name:"客服信息"
  			},{
  				xhref:"#icon-yijianfankui1",
  				name:"系统反馈"
  			},{
  				xhref:"#icon-shezhi",
  				name:"设置"
  			}
  		]
  	}
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.big{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.header{
	width: 100%;
	height: 2rem;
	display: flex;
	flex-direction: column;
}
.header_top{
	width: 100%;
	height: 1.7rem;
	background: #4d3126;
	position: relative;
	color: #9b877e;
	box-sizing: border-box;
	padding-top: 1.1rem;
	padding-left: 1.4rem;
	font-size: 0.2rem;
}
.header_img{
	width: 0.8rem;
	height: 0.8rem;
	position: absolute;
	top: 0.7rem;
	left: 0.3rem;
	border-radius: 50%;
	overflow: hidden;
}
.header_img img{
	width: 100%;
	height: 100%;
	display: block;
}
.header_bottom{
	flex: 1;
	background: #35221b;
	color: #90817a;
	box-sizing: border-box;
	padding-left: 0.3rem;
}
.nav{
	width: 100%;
	height: 2rem;
	display: flex;
	flex-direction: column;
}
.nav_top{
	width: 100%;
	height: 0.8rem;
	border-bottom: 1px solid #f3f3f3;
	position: relative;
}
.dingdan{
	float: left;
	margin-top: 0.18rem;
	margin-left: 0.3rem;
	color: #656565;
}
.dingdanAll{
	float: right;
	color: #9c9c9c;
	margin-right: 0.6rem;
	margin-top: 0.18rem;
}
.dingdanAll span{
	font-size: 0.4rem;
	position: absolute;
	top: 0.03rem;
	left: 5.9rem;
}
.nav_bottom{
	flex: 1;
}
.nav_bottom .oul{
	width: 100%;
	height: 100%;
	display: flex;
}
.nav_bottom .oul .oli{
	flex: 1;
	text-align: center;
}
.icon{
	width: 0.58rem;
	height: 0.46rem;
	padding-top: 0.15rem;
}
.nav_bottom .oul .oli .icon p{
	color: #595959;
}
.hui{
	width: 100%;
	height: 0.2rem;
	background: #f3f3f3;
}
.section{
	flex: 1;
}
.section_top{
	width: 100%;
	height: 1rem;
	color: #6e6e6e;
	font-size: 0.25rem;
	line-height: 1rem;
	padding-left: 0.3rem;
	box-sizing: border-box;
	border-bottom: 1px solid #f3f3f3;
}
.section_nav{
	width: 100%;
	height: 1.2rem;
	border-bottom: 1px solid #f2f2f2;
}
.section_nav .oul{
	width: 100%;
	height: 100%;
	display: flex;
}
.section_nav .oul .oli{
	flex: 1;
	text-align: center;
}
.section_nav .oul .oli .icon p{
	color: #595959;
}
.section_bottom{
	width: 100%;
	height: 1.2rem;
	border-bottom: 1px solid #f2f2f2;
}
.section_bottom .oul{
	width: 100%;
	height: 100%;
	display: flex;
}
.section_bottom .oul .oli{
	flex: 1;
	text-align: center;
}
.section_bottom .oul .oli .icon p{
	color: #595959;
}
</style>
